package com.yuanfud.blog.service;

import com.yuanfud.common.exception.RestException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface FileService {
    boolean uploadFile(HttpServletRequest request,String attach) throws RestException,IOException;

    boolean delFile() throws RestException;
}
